package com.hm.service.pojo.request;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class BigModelRequest implements Serializable {

    public Header header;
    public Parameter parameter;
    public Payload payload;


    public static class Header implements Serializable {
        public String app_id;
        public String uid;

    }

    public static class Parameter implements Serializable {
        public Chat chat;

        public static class Chat implements Serializable {
            public String domain;
            public Double temperature;
            public long max_tokens;
        }
    }

    public static class Payload implements Serializable {
        public Message message;

        public static class Message implements Serializable {
            public List<Text> text = new ArrayList<>();

            public static class Text implements Serializable {
                public String role;
                public String content;
            }
        }
    }

}



